#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"
void test1()
{
	ListNode* plist = ListInit();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListPrint(plist);
	ListPopBack(plist);
	ListPushFront(plist, 10);
	ListPopFront(plist);
	ListPushBack(plist, 2);
	ListPushBack(plist, 2);
	ListInsert(plist->next, 100);
	ListInsert(plist, 100);
	ListPrint(plist);
	ListErase(plist->next);
	ListErase(plist->prev);
	ListPrint(plist);







	
	
	
	



}
int main()
{
	test1();
	return 0;
}